package com.karry.pojo;

/**
 *  点赞类
 * **/
public class DianZan {

    private int id;
    private int blogId;
    private int userId;
    //点赞状态，可能取消点赞
    private int status;

    public DianZan(int id, int blogId, int userId, int status) {
        this.id = id;
        this.blogId = blogId;
        this.userId = userId;
        this.status = status;
    }

    public DianZan() {}

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getBlogId() {
        return blogId;
    }

    public void setBlogId(int blogId) {
        this.blogId = blogId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "DianZan{" +
                "id=" + id +
                ", blogId=" + blogId +
                ", userId=" + userId +
                ", status=" + status +
                '}';
    }
}
